package org.zoomdev.zoom.dao;

import java.util.List;

public interface Ar<T> {

    Ar<T> type(Class<T> type);

    Ar<T> table(String table);

    Ar<T> entity(Entity<T> entity);


    Ar<T> ignoreNull();


    int insert(T data);

    int update(T data);

    int delete(T data);

    List<T> find();

    T get(Object... args);


    Ar<T> select(String select);

    Ar<T> filter(String filter);


}
